///////////////////////////////////////////////////////////////////////////////
//
// Copyright
//
///////////////////////////////////////////////////////////////////////////////

package ru.goodcore.display.ui.core
{

import flash.utils.getClassName;

import ru.goodcore.datastructure.Enum;

/**
 * 
 * @author					Dimarik
 * @version					1.0
 * @playerversion			Flash 9
 * @langversion				3.0
 *
 * @keyword					resource, resourcemanager, resourcebehavior
 */
public class SizeDependet extends Enum
{

	//include "../../../includes/core/Version.as";

	//-------------------------------------------------------------------------
	//
	//  Class constants
	//
	//-------------------------------------------------------------------------

	/**
	 * Defines enum constant for <b>child behavior</b>
	 */	
	public static const CHILD:		SizeDependet = new SizeDependet('child');

	/**
	 * Defines enum constant for <b>parent behavior</b>
	 */	
	public static const PARENT:		SizeDependet = new SizeDependet('parent');

	/**
	 * Defines enum constant for <b>explicit behavior</b>
	 */
	public static const EXPLICIT:	SizeDependet = new SizeDependet('explicit');

	//-------------------------------------------------------------------------
	//
	//  Constructor
	//
	//-------------------------------------------------------------------------

	/**
	 * Constructor
	 */
	public function SizeDependet(id:String) {
		super(id);
	}

	//-------------------------------------------------------------------------
	//
	//  Public methods
	//
	//-------------------------------------------------------------------------

	public override function toString():String {
		var id:String = super.toString();
		return '[' + getClassName(this) + '.' + id + ']';
	}

}
}